package hankz.spring.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @description: TODO
 * @author: zzc
 * @modified By: zzc
 * @date: Created in 2021/11/20 18:04
 * @version:v1.0
 */
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<String, String>();

    static {
        hashMap.put("10001", "zzc1");
        hashMap.put("10002", "zzc2");
        hashMap.put("10003", "zzc3");
        hashMap.put("10004", "zzc4");
    }

    public String queryUserName(String userId) {
        return hashMap.get(userId);
    }

}
